
package vip.xiaonuo.biz.modular.lancerUserGoods.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单实体
 *
 * @author Lancer
 * @date  2024/03/03 17:11
 **/
@Getter
@Setter
@Accessors(chain = true)
@TableName("biz_user_goods")
public class BizUserGoods {

    /** ID */
    @TableId
    @ApiModelProperty(value = "ID", position = 1)
    private String id;

    private Integer count;

    /** 用户名 */
    @ApiModelProperty(value = "用户名", position = 2)
    private String userName;

    /** 品牌ID */
    @ApiModelProperty(value = "品牌ID", position = 3)
    private String brandId;

    /** 品牌名称 */
    @ApiModelProperty(value = "品牌名称", position = 4)
    private String brandName;

    /** 商品盒子id */
    @ApiModelProperty(value = "商品盒子id", position = 5)
    private String goodsBoxId;

    /** 商品盒子名称 */
    @ApiModelProperty(value = "商品盒子名称", position = 6)
    private String goodsBoxName;

    /** 商品名称 */
    @ApiModelProperty(value = "商品名称", position = 7)
    private String goodsName;

    /** 商品id */
    @ApiModelProperty(value = "商品id", position = 8)
    private String goodsId;

    /** 类型id */
    @ApiModelProperty(value = "类型id", position = 9)
    private String categoryId;

    /** 支付金额 */
    @ApiModelProperty(value = "支付金额", position = 10)
    private Integer payMoney;

    @ApiModelProperty(value = "订单状态", position = 10)
    private String status;


    @ApiModelProperty(value = "使用自己的优惠券", position = 16)
    private String useOwnCoupon;


    /** 删除标识 */
    @ApiModelProperty(value = "删除标识", position = 11)
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private String deleteFlag;

    /** CREATE_TIME */
    @ApiModelProperty(value = "CREATE_TIME", position = 12)
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** UPDATE_TIME */
    @ApiModelProperty(value = "UPDATE_TIME", position = 13)
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /** 创建人 */
    @ApiModelProperty(value = "创建人", position = 14)
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    /** 更新人 */
    @ApiModelProperty(value = "更新人", position = 15)
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;
}
